package com.lin.manager.system.service;

import com.lin.manager.system.entity.SysUserRoleEntity;
import com.lin.manager.login.model.vo.LoginUserVo;

import java.util.List;

/**
 * @作者: 林江
 * @创建时间: 2024/3/12
 * @功能:
 */
public interface SysUserRoleService {
    List<SysUserRoleEntity> findByRoleId(Integer roleId);

    List<SysUserRoleEntity> findByUserId(Long userId);

    void binding(List<SysUserRoleEntity> roleMenus);

    void deleteByRoleId(Integer roleId);

    void deleteByUserId(Long userId);

    LoginUserVo findLoginRoleByUserId(Long userId);

}
